#ifndef LOGCAPTUREDIALOG_H
#define LOGCAPTUREDIALOG_H

#include <QDialog>
#include <QDateTime>

namespace Ui {
class LogCaptureDialog;
}

class LogCaptureDialog : public QDialog
{
    Q_OBJECT

public:
    explicit LogCaptureDialog(QWidget *parent = nullptr);
    ~LogCaptureDialog();
    bool setStartDateTime(const QDateTime &datetime);
    bool setEndDateTime(const QDateTime &datetime);

signals:
    void logCaptureSignal(QDateTime start, QDateTime end, QString filePath);

private:
    Ui::LogCaptureDialog *ui;
    QDateTime mStartDateTime;
    QDateTime mEndDateTime;
    QString mSavedPath;

};

#endif // LOGCAPTUREDIALOG_H
